﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace xmgl.Dal
{
    public abstract class BaseDal<T>
    {
        protected DbBaseContext dbOp = new DbBaseContext();
        protected log4net.ILog Log = log4net.LogManager.GetLogger("dal");
        public abstract void Add(T bean);

        public abstract void Del(T bean);

        public abstract void Modify(T bean);

        public abstract List<T> Query(T bean);

        public abstract List<T> QueryByPage(T bean, int page, int rows, ref int count);
    }
}